package org.zjkoye.crm.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.zjkoye.crm.entity.Workorder;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface WorkorderService extends IService<Workorder> {

    IPage<Workorder> pageList(int pageSize, int currentPage, String status);

    IPage<Workorder> getUnassignedWorkOrders(int pageSize, int currentPage);

    IPage<Workorder> getAssignedWorkOrders(int pageSize, int currentPage);

    List<String> getOperators();
}
